package com.ys.modules.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

@Data
@TableName("tg_bsc_wallet_transfer")
@ApiModel("BSC钱包转账记录和结果")
public class TgBscWalletTransfer {
    @ApiModelProperty(value = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "转账人id")
    private Long userId;

    @ApiModelProperty(value = "交易id")
    private String transId;

    @ApiModelProperty(value = "钱包地址")
    private String address;

    @ApiModelProperty(value = "转账额度")
    private Long amount;

    @ApiModelProperty(value = "手续费")
    private Long fee;

    @ApiModelProperty(value = "转账币种(USDT)")
    private String currency;

    @ApiModelProperty(value = "请求计算的sign")
    private String sign;

    @ApiModelProperty(value = "审核是否通过 true-通过")
    private Integer pass;

    @ApiModelProperty(value = "审核时间")
    private Date auditTime;

    @ApiModelProperty(value = "审核备注")
    private String remark;

    @ApiModelProperty(value = "成功状态 true|false")
    private Integer success;

    @ApiModelProperty(value = "状态码 200成功")
    private Integer code;

    @ApiModelProperty(value = "转账额度（回调）")
    private Long callbackAmount;

    @ApiModelProperty(value = "处理消息")
    private String message;

    @ApiModelProperty(value = "处理消息明细")
    private String messageDetail;

    @ApiModelProperty(value = "转账hash")
    private String hash;

    @ApiModelProperty(value = "时间戳")
    private Long timestamp;

    @ApiModelProperty(value = "回调中时间戳")
    private String callbackTimestamp;

    @ApiModelProperty(value = "结果中sign")
    private String sign2;

    @ApiModelProperty(value = "结果中result")
    private String result;

    @ApiModelProperty(value = "记录状态: 0-有效 1-无效")
    private Integer status;

    @ApiModelProperty(value = "转账状态 -1错误 1转账成功 2转账失败 3待审核 10向钱包发送成功 11向钱包发送失败")
    private Integer transferStatus;

    @ApiModelProperty(value = "创建者")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updater;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;
} 